package com.gh.cloud.user.fegin.fallback;

import com.gh.cloud.user.fegin.ProductFeign;
import org.springframework.stereotype.Component;

/**
 * @author: guohao
 * @date: 2021-02-03 11:21
 **/
@Component
public class ProductFeignFallBack implements ProductFeign {
    @Override
    public String getProductById(String id) {
        System.out.println("this is fallback info...");

        return "this is fallback info...";
    }
}
